﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZeCloud.Resto55.Business;
using ZeCloud.Resto55.Business.Table;

namespace Resto55_WebRole
{
    public partial class Create : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Bt_create_Click(object sender, EventArgs e)
        {
            RestoService RestoServ = BusinessFacade.CreerFacade().GetRestoService();

            RestoServ.CreerRestoPar("Anonyme", TB_Nom.Text, TB_Adr1.Text,TB_Adr2.Text  ,int.Parse(TB_codepostal.Text), TB_ville.Text,TB_site.Text,TB_tel.Text);
           
         }
    }
}
